<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
<head>
<title>JDNBB</title>

<script type="text/javascript" src="/javascripts/scriptaculous/lib/prototype.js" ></script>
<script type="text/javascript" src="/javascripts/scriptaculous/src/scriptaculous.js" ></script>
<script type="text/javascript" src="/javascripts/windows/javascripts/window.js" ></script>
<script type="text/javascript" src="/javascripts/windows/javascripts/debug.js" ></script>
<script type="text/javascript" src="/javascripts/validation.js" ></script>
<script type="text/javascript" src="/javascripts/rails/application.js" ></script>
<%= stylesheet_link_tag "jdnbb" , :media => "all" %>
<link href="/stylesheets/default.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/mac_os_x.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/alphacube.css" rel="stylesheet" type="text/css"></link>
<link href="/stylesheets/debug.css" rel="stylesheet" type="text/css"></link>


</head>
<body >
    <script type="text/javascript" >
        var index= 0;
        var contentWin = null;
        
        // Debug window
        //showDebug();
        
        // Window with scrollable text
        
        winMenuSystem = new Window('winMenuSystem', {className: "mac_os_x",  top:85, left:0, width:140, height:100, zIndex: 100, minimizable:true,maximizable:false, closable: false,resizable:false, title: 'Panel', showEffect:Element.show, hideEffect: Effect.SwitchOff, draggable:false})        
       
        winMenuSystem.getContent().innerHTML= "<ul><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/desktop', {asynchronous:true, evalScripts:true}); return false;\">Desktop</a></li><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/home', {asynchronous:true, evalScripts:true}); return false;\">Home</a></li><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/noticias', {asynchronous:true, evalScripts:true}); return false;\">Noticias</a></li></ul>"
		winMenuSystem.show();
        
        winMenuReports = new Window('winMenuReports', {className: "mac_os_x",  top:255, left:0, width:140, height:100, zIndex: 100, minimizable:true,maximizable:false, closable: false,resizable: false, title: "<font align=\"left\"> System</font>", showEffect:Element.show, hideEffect: Effect.SwitchOff, draggable:false})   
        
        winMenuReports.getContent().innerHTML="<ul><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../jdnbb/reportes', {asynchronous:true, evalScripts:true}); return false;\">Reportes</a></li><li><a href=\"#\" onclick=\"new Ajax.Updater('main', '../stats', {asynchronous:true, evalScripts:true}); return false;\">Estadistica General</a></li></ul></div>"
    	winMenuReports.show();



</script>
    <div id="contenedor" style="margin: 0px;" !align="center">
        <div id="topBar" > 
        	<table  border="0" cellspacing="0" cellpadding="0">
                <tr>
			<td width="180" height="50" bgcolor="#000000" align="center"> <font style="font-family: Trebuchet MS; font-weight: bold; font-size: 34px;" color="#ffffff"> CetiSoft </font>
                    </td>					
                    <td width="550">
						<img src="/images/pics/banner.png" alt="banner"/>
                    </td>
					
                    <td align="right">
						
						<% if not session[:user].nil? %>
							<%= current_user_loged(session[:user]) %>
						<% else %> 
							Invitado
						<%	end %>| <%= logout_link %></td>
		    
                </tr>
			</table>
		</div>
		<!-- <div>	
<table class="m_table_principal" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>class="mac_os_x_nw"></td>
    <td class="mac_os_x_n"><div id="handle1"></div></td>
    <td class="mac_os_x_ne"></td>
  </tr>
	<tr>
				<td class="mac_os_x_w"></td>
				<td class="mac_os_x_content"> -->
					<div id="main" style="min-height: 350px;"> 
						<%= yield :layout %>
					</div>
					<div id="footer" style="margin-left: 500px; background: ">
					
					<%= add_section "Creditos", "
					<table bgcolor=\"#FFFFFF\">
						<tr >
							<td >
								<div>
									<a href=\"http://www.mincultura.gov.co/\" target=\"\">
										<img height=\"50\" src=\"/images/Escudo-0.gif\" width=\"37\"  border=\"0\" />
									</a>
								</div>
							</td>
							<td width=\"80\">
								<div align=\"center\">
									<a href=\"http://www.coc.org.co/\" target=\"_blank\">
										<img height=\"50\" src=\"/images/COC-50.gif\" width=\"41\" border=\"0\" />
									</a>
								</div>
							</td>
                			<td width=\"80\">
								<div align=\"center\">
									<a href=\"http://www.coldeportes.gov.co/\" target=\"_blank\">
										<img height=\"64\" src=\"/images/logo1.jpg\" width=\"105\" border=\"0\" />
									</a>
								</div>
							</td>
							<td width=\"8\"0>
								<div align=\"center\">
									<a href=\"http://www.valledelcauca.gov.co/\" target=\"_blank\">
										<img src=\"/images/logo-vall.jpg\" width=\"46\" height=\"50\" border=\"0\" />
									</a>
								</div>
							</td>
                			<td width=\"80\">
								<div align=\"center\">
									<a href=\"http://www.sanandres.gov.co/\" target=\"_blank\">
										<img src=\"/images/logo-sand.jpg\" width=\"42\" height=\"50\" border=\"0\">
									</a>
								</div>
							</td>
						</tr>
					</table>
					" %>
					</div>
					
		<!--		</td>
				<td class="mac_os_x_e"></td>
			</tr>
			<tr >
				<td class="mac_os_x_sw"></td>
				<td class="mac_os_x_s"></td>
				<td class="mac_os_x_se"></td>
			</tr>
		</table>
		</div> -->
	</div>

</body>
</html>
